import React, { Component } from 'react'
import {Route,Redirect,NavLink} from "react-router-dom"
import All from "./all.jsx"
import Movie from "./movie.jsx"
import My from "./my.jsx"
import Show from "./show.jsx"
import Viedo from "./video"
import routerList from '../router/routerList.js'
import RouterView from '../router/routerView.js'
class App extends Component {
  render() {
    return (
      <div>
          {/* <RouterView ></RouterView> */}
          {/* <Route path="/all" component={All} child={shuzu}></Route>
          <Route path="/my" component={My} child={udfines}></Route>
         
          <Redirect to="/all" from="/"></Redirect> */}
          <RouterView RouterList={routerList}></RouterView>
       
      </div>
    )
  }
}

export default App